.class public Lcom/instagram/android/c2dm/a/b;
.super Ljava/lang/Object;
.source "NewsTabNotificationDelegate.java"

# interfaces
.implements Lcom/instagram/k/g;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/instagram/k/g",
        "<",
        "Lcom/instagram/android/c2dm/d;",
        ">;"
    }
.end annotation


# static fields
.field private static a:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation
.end field


# instance fields
.field private b:Landroid/content/Context;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 29
    const-class v0, Lcom/instagram/android/c2dm/a/b;

    sput-object v0, Lcom/instagram/android/c2dm/a/b;->a:Ljava/lang/Class;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;)V
    .locals 0
    .parameter

    .prologue
    .line 32
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 33
    iput-object p1, p0, Lcom/instagram/android/c2dm/a/b;->b:Landroid/content/Context;

    .line 34
    return-void
.end method


# virtual methods
.method public a(Ljava/lang/String;Ljava/util/List;)Landroid/app/Notification;
    .locals 4
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/c2dm/d;",
            ">;)",
            "Landroid/app/Notification;"
        }
    .end annotation

    .prologue
    .line 44
    iget-object v0, p0, Lcom/instagram/android/c2dm/a/b;->b:Landroid/content/Context;

    invoke-virtual {p0}, Lcom/instagram/android/c2dm/a/b;->a()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, p1, p2}, Lcom/instagram/android/c2dm/a/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Landroid/support/v4/app/at;

    move-result-object v1

    .line 48
    invoke-interface {p2}, Ljava/util/List;->size()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    invoke-interface {p2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/c2dm/d;

    .line 49
    invoke-virtual {v0}, Lcom/instagram/android/c2dm/d;->k()Landroid/graphics/Bitmap;

    move-result-object v2

    .line 50
    if-eqz v2, :cond_0

    .line 51
    new-instance v3, Landroid/support/v4/app/ar;

    invoke-direct {v3, v1}, Landroid/support/v4/app/ar;-><init>(Landroid/support/v4/app/at;)V

    invoke-virtual {v3, v2}, Landroid/support/v4/app/ar;->a(Landroid/graphics/Bitmap;)Landroid/support/v4/app/ar;

    move-result-object v1

    invoke-virtual {v0}, Lcom/instagram/android/c2dm/d;->c()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/support/v4/app/ar;->a(Ljava/lang/CharSequence;)Landroid/support/v4/app/ar;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/ar;->a()Landroid/app/Notification;

    move-result-object v0

    .line 55
    :goto_0
    return-object v0

    :cond_0
    invoke-virtual {v1}, Landroid/support/v4/app/at;->a()Landroid/app/Notification;

    move-result-object v0

    goto :goto_0
.end method

.method public a(Ljava/util/Map;Ljava/lang/String;)Landroid/app/Notification;
    .locals 1
    .parameter
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/util/List",
            "<",
            "Lcom/instagram/android/c2dm/d;",
            ">;>;",
            "Ljava/lang/String;",
            ")",
            "Landroid/app/Notification;"
        }
    .end annotation

    .prologue
    .line 71
    const/4 v0, 0x0

    return-object v0
.end method

.method public a(Ljava/lang/String;)Lcom/instagram/android/c2dm/d;
    .locals 1
    .parameter

    .prologue
    .line 81
    invoke-static {}, Lcom/instagram/android/service/f;->a()Lcom/instagram/android/service/f;

    move-result-object v0

    .line 82
    invoke-static {v0, p1}, Lcom/instagram/android/c2dm/f;->a(Lcom/instagram/android/service/f;Ljava/lang/String;)Lcom/instagram/android/c2dm/d;

    move-result-object v0

    return-object v0
.end method

.method public a()Ljava/lang/String;
    .locals 1

    .prologue
    .line 38
    const-string v0, "newstab"

    return-object v0
.end method

.method public a(Lcom/instagram/android/c2dm/d;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 76
    invoke-virtual {p1}, Lcom/instagram/android/c2dm/d;->p()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public bridge synthetic a(Ljava/lang/Object;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 28
    check-cast p1, Lcom/instagram/android/c2dm/d;

    invoke-virtual {p0, p1}, Lcom/instagram/android/c2dm/a/b;->a(Lcom/instagram/android/c2dm/d;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public a(I)Z
    .locals 1
    .parameter

    .prologue
    .line 65
    const/4 v0, 0x0

    return v0
.end method

.method public b()Landroid/content/SharedPreferences;
    .locals 1

    .prologue
    .line 87
    sget-object v0, Lcom/instagram/android/c2dm/a/b;->a:Ljava/lang/Class;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/instagram/m/b/a/a;->a(Ljava/lang/String;)Landroid/content/SharedPreferences;

    move-result-object v0

    return-object v0
.end method

.method public synthetic b(Ljava/lang/String;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 28
    invoke-virtual {p0, p1}, Lcom/instagram/android/c2dm/a/b;->a(Ljava/lang/String;)Lcom/instagram/android/c2dm/d;

    move-result-object v0

    return-object v0
.end method
